﻿using Nemerle.Collections;
using Nemerle.Text;
using Nemerle.Utility;

using System;
using System.Collections.Generic;
using System.Linq;

namespace BetterCS
{
  class NotifyPropertyII
  {
    public Name : string 
    {
      mutable name : string = "Hilbert";
      get { name }
      set 
      { 
        name = value; 
        Console.WriteLine(value);
      }
    }
    
    public Notify() : void 
    {
      Name = "Galois";
      // name = "Galois"; // compile error
    }
  }
}
